function get<T>(arg: T):T {
    return arg;
}

let num:number = 1;
let num2:number = get(num);

let str:string = "1";
let str2 = get(str);